<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <style>
        .gamearea{
            width: 960px;height:600px;
            margin: 0 auto;
            background-image: url(images/bj.jpg);
            overflow: hidden;
        }
        .scene{
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        #gamearea{
            position: relative;
        }
        #me{
            position: absolute;
            left: 100px;
            top: 100px;
        }
    </style>
    <link href="Progress.css" rel="stylesheet"/> 
    <script src="jQuery/jquery-1.9.1.min.js"></script>
    <script src="js/directionBtn.js"></script><!-- 遥杆控件 -->
    <script src="js/LoginScene.js"></script><!-- 登陆 -->
    <script src="js/Director.js"></script><!-- 创建页面 -->
    <script src="js/LoadingScene.js"></script><!-- 进度条 -->
    <script src="js/ScheduleScene.js"></script><!-- 关卡选择 -->
    <script src="js/PlayScene.js"></script><!-- 游戏页面 -->
    <script src="js/MainScene.js"></script><!-- 主界面 -->
    <script src="js/ShopScene.js"></script><!-- 商店界面 -->
    <script src="js/MineScene.js"></script><!-- 个人界面 -->
    <script src="js/OverScene.js"></script><!-- 结束界面 -->
    <script src="js/LoadUsers.js"></script>
    <script >
        //js创建动画       
        // function MoveTo(tar, name, topoint, time){
        //     var nowleft = tar.css("left");
        //     var nowtop = tar.css("top");
        //     var pre0 = "0%{left:"+nowleft+";top:"+nowtop+";}";
        //     var pre100 = " 100%{left:"+topoint[0]+"px;top:"+topoint[1]+"px;}";
        //     console.log(pre100);
        //     sheet.insertRule("@-webkit-keyframes "+name+" {"+pre0+pre100+"}",0);
        //     test=sheet.cssRules[0];
        //     this.runAction = function(){
        //         tar.css("-webkit-animation", name+" "+time+"s");
        //     }
        // }
       
        
        var director;
        var sheet;
        window.onload = function(){
            var style=document.createElement("style");
            document.head.appendChild(style);
            sheet=style.sheet;

            director = new Director($("#gamearea"));
            director.runScene(new LoginScene());
        }
    </script>
</head>
<body>
        <div id="gamearea" class="gamearea"></div>
       <!--  <EMBED style="width: 0px;height: 0px; " src="music.mp3" autostart="fause" loop="true" CONTROLS="stopbutton "  > -->
           

</body>
</html>